.Net Framework > v3.5.21022.8 > System > Linq > Enumerable > Average<TSource> Average<TSource>(IEnumerable<TSource>,Func<TSource,Int32>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Int32>>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Int64>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Int64>>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Single>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Single>>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Double>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Double>>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Decimal>)
Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Decimal>>)


Average<TSource>(IEnumerable<TSource>,Func<TSource,Int32>)

Category
Method
Description
Computes the average of a sequence of System.Int32 values that are obtained by invoking a transform function on each element of the input sequence.
Type
Double
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,Int32>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Int32>>)

Category
Method
Description
Computes the average of a sequence of nullable System.Int32 values that are obtained by invoking a transform function on each element of the input sequence.
Type
System.Nullable<Double>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,System.Nullable<Int32>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Int64>)

Category
Method
Description
Computes the average of a sequence of System.Int64 values that are obtained by invoking a transform function on each element of the input sequence.
Type
Double
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,Int64>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Int64>>)

Category
Method
Description
Computes the average of a sequence of nullable System.Int64 values that are obtained by invoking a transform function on each element of the input sequence.
Type
System.Nullable<Double>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,System.Nullable<Int64>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Single>)

Category
Method
Description
Computes the average of a sequence of System.Single values that are obtained by invoking a transform function on each element of the input sequence.
Type
Single
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,Single>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Single>>)

Category
Method
Description
Computes the average of a sequence of nullable System.Single values that are obtained by invoking a transform function on each element of the input sequence.
Type
System.Nullable<Single>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,System.Nullable<Single>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Double>)

Category
Method
Description
Computes the average of a sequence of System.Double values that are obtained by invoking a transform function on each element of the input sequence.
Type
Double
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,Double>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Double>>)

Category
Method
Description
Computes the average of a sequence of nullable System.Double values that are obtained by invoking a transform function on each element of the input sequence.
Type
System.Nullable<Double>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,System.Nullable<Double>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Decimal>)

Category
Method
Description
Computes the average of a sequence of System.Decimal values that are obtained by invoking a transform function on each element of the input sequence.
Type
Decimal
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,Decimal>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Average<TSource>(IEnumerable<TSource>,Func<TSource,Nullable<Decimal>>)

Category
Method
Description
Computes the average of a sequence of nullable System.Decimal values that are obtained by invoking a transform function on each element of the input sequence.
Type
System.Nullable<Decimal>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
selectorSystem.Func<TSource,System.Nullable<Decimal>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database